package com.itheima.service.impl;

import com.itheima.mapper.UserInfoMapper;
import com.itheima.pojo.UserInfo;
import com.itheima.service.UserInfoService;

public class UserInfoServiceImpl implements UserInfoService {

    private UserInfoMapper userInfoMapper;

    public void setUserInfoMapper(UserInfoMapper userInfoMapper) {
        this.userInfoMapper = userInfoMapper;
    }

    public UserInfo findById(Integer id) {
        return userInfoMapper.findById(id);
    }
}
